<template>
  <table >

    <tr>
      <td class="list-1" rowspan="2" width="40"><div >测评项目</div></td>
      <td colspan="2" rowspan="2"><div class="col-1">测评内容</div></td>
      <td colspan="5" ><div class="col-1">评分结果</div></td>
    </tr>
    <tr>
      <td>自评</td>
      <td>小组评</td>
      <td>班级评</td>
      <td>学院评</td>
      <td>复 核</td>
    </tr>
    <tr>
      <td rowspan="18"  ><div class="list-1 ">德育表现分（20%）</div></td>
      <td rowspan="8"><div class="list-2">基本分60分</div></td>
      <td>坚持四项基本原则，维护国家利益和安定团结的政治局面，维护学校的正常秩序，不参加非法组织活动，不参与有损祖国尊严和荣誉、危害社会秩序和校园稳定的活动。</td>
      <td><el-input class="input-1" :disabled=true></el-input></td>
      <td><el-input class="input-2" v-model="teamForm.dyjbf1" :disabled="userInfo.userRole!='monitor'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-3" v-model="classForm.dyjbf1" :disabled="userInfo.userRole!='instructor'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-4" v-model="collageForm.dyjbf1" :disabled="userInfo.userRole!='leader'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-5" v-model="reCheckForm.dyjbf1" :disabled="userInfo.userRole!='leader'&&userInfo.userRole!='admin'"></el-input></td>
    </tr>
    <tr>
      <td>热爱祖国，关心国家大事，认真学习党和国家的方针政策，自觉参加政治学习和社会实践活动。</td>
      <td><el-input class="input-1" :disabled=true></el-input></td>
      <td><el-input class="input-2" v-model="teamForm.dyjbf2" :disabled="userInfo.userRole!='monitor'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-3" v-model="classForm.dyjbf2" :disabled="userInfo.userRole!='instructor'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-4" v-model="collageForm.dyjbf2" :disabled="userInfo.userRole!='leader'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-5" v-model="reCheckForm.dyjbf2" :disabled="userInfo.userRole!='leader'&&userInfo.userRole!='admin'"></el-input></td>
    </tr>
    <tr>
      <td>遵守国家各项法律，执行学校的各项规章制度，无违法违纪行为。</td>
      <td><el-input class="input-1" :disabled=true></el-input></td>
      <td><el-input class="input-2" v-model="teamForm.dyjbf3" :disabled="userInfo.userRole!='monitor'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-3" v-model="classForm.dyjbf3" :disabled="userInfo.userRole!='instructor'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-4" v-model="collageForm.dyjbf3" :disabled="userInfo.userRole!='leader'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-5" v-model="reCheckForm.dyjbf3" :disabled="userInfo.userRole!='leader'&&userInfo.userRole!='admin'"></el-input></td>
    </tr>
    <tr>
      <td>学习目的明确，学习态度端正，勤奋好学，勇于创新，课堂纪律好、出勤率高。</td>
      <td><el-input class="input-1" :disabled=true></el-input></td>
      <td><el-input class="input-2" v-model="teamForm.dyjbf4" :disabled="userInfo.userRole!='monitor'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-3" v-model="classForm.dyjbf4" :disabled="userInfo.userRole!='instructor'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-4" v-model="collageForm.dyjbf4" :disabled="userInfo.userRole!='leader'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-5" v-model="reCheckForm.dyjbf4" :disabled="userInfo.userRole!='leader'&&userInfo.userRole!='admin'"></el-input></td>
    </tr>
    <tr>
      <td>关心集体，热爱劳动，积极参加集体活动和公益活动，热心为同学服务，努力完成校、学院、班级交给的任务。</td>
      <td><el-input class="input-1" :disabled=true></el-input></td>
      <td><el-input class="input-2" v-model="teamForm.dyjbf5" :disabled="userInfo.userRole!='monitor'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-3" v-model="classForm.dyjbf5" :disabled="userInfo.userRole!='instructor'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-4" v-model="collageForm.dyjbf5" :disabled="userInfo.userRole!='leader'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-5" v-model="reCheckForm.dyjbf5" :disabled="userInfo.userRole!='leader'&&userInfo.userRole!='admin'"></el-input></td>
    </tr>
    <tr>
      <td>加强自我修养，遵守社会公德，爱护公物，维护公共秩序。</td>
      <td><el-input class="input-1" :disabled=true></el-input></td>
      <td><el-input class="input-2" v-model="teamForm.dyjbf6" :disabled="userInfo.userRole!='monitor'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-3" v-model="classForm.dyjbf6" :disabled="userInfo.userRole!='instructor'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-4" v-model="collageForm.dyjbf6" :disabled="userInfo.userRole!='leader'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-5" v-model="reCheckForm.dyjbf6" :disabled="userInfo.userRole!='leader'&&userInfo.userRole!='admin'"></el-input></td>
    </tr>
    <tr>
      <td>讲文明、懂礼貌、尊敬师长，团结同学。</td>
      <td><el-input class="input-1" :disabled=true></el-input></td>
      <td><el-input class="input-2" v-model="teamForm.dyjbf7" :disabled="userInfo.userRole!='monitor'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-3" v-model="classForm.dyjbf7" :disabled="userInfo.userRole!='instructor'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-4" v-model="collageForm.dyjbf7" :disabled="userInfo.userRole!='leader'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-5" v-model="reCheckForm.dyjbf7" :disabled="userInfo.userRole!='leader'&&userInfo.userRole!='admin'"></el-input></td>
    </tr>
    <tr>
      <td>培养严谨的生活作风和良好的生活习惯，勤俭朴素，不吸烟，不酗酒。</td>
      <td><el-input class="input-1" :disabled=true></el-input></td>
      <td><el-input class="input-2" v-model="teamForm.dyjbf8" :disabled="userInfo.userRole!='monitor'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-3" v-model="classForm.dyjbf8" :disabled="userInfo.userRole!='instructor'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-4" v-model="collageForm.dyjbf8" :disabled="userInfo.userRole!='leader'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-5" v-model="reCheckForm.dyjbf8" :disabled="userInfo.userRole!='leader'&&userInfo.userRole!='admin'"></el-input></td>
    </tr>
    <tr>
      <td rowspan="5"><div class="list-2">附加分40分</div></td>
      <td>担任校团、学生会干部称职的满分7分，担任二级学院团、学生会干部称职的满分6分，担任班级团、班干部称职的满分5分，担任宿舍长称职的满分3分，担任校院两级学生协会（社团）会长称职的满分5分；学生干部不起作用的不加分，身兼多职的以最高职务计分。干部得分与否，班干部（含宿舍长）由班主任评定，平均分不得超过4分；二级学院团、学干部，二级学院协会（社团）会长由主管学生工作的学院领导、辅导员评定，平均分不得超过5分；校级团、学干部，校级协会（社团）会长由团委会评定，平均分不得超过6分。其他学生组织的干部加分标准由学生工作处、团委组织认定。（校、二级学院有关部门及学生会各部门聘请的人员，不列入干部范畴，但考虑工作关系可加分，不超过3分）。</td>
      <td><el-input class="input-1" :disabled=true></el-input></td>
      <td><el-input class="input-2" v-model="teamForm.dyfjf1" :disabled="userInfo.userRole!='monitor'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-3" v-model="classForm.dyfjf1" :disabled="userInfo.userRole!='instructor'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-4" v-model="collageForm.dyfjf1" :disabled="userInfo.userRole!='leader'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-5" v-model="reCheckForm.dyfjf1" :disabled="userInfo.userRole!='leader'&&userInfo.userRole!='admin'"></el-input></td>
    </tr>
    <tr>
      <td>拾金不昧、见义勇为、舍己救人，经学院、校、市书面表彰嘉奖者最高可加3分、6分、8分。</td>
      <td><el-input class="input-1" :disabled=true></el-input></td>
      <td><el-input class="input-2" v-model="teamForm.dyfjf2" :disabled="userInfo.userRole!='monitor'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-3" v-model="classForm.dyfjf2" :disabled="userInfo.userRole!='instructor'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-4" v-model="collageForm.dyfjf2" :disabled="userInfo.userRole!='leader'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-5" v-model="reCheckForm.dyfjf2" :disabled="userInfo.userRole!='leader'&&userInfo.userRole!='admin'"></el-input></td>
    </tr>
    <tr>
      <td>积极参加大学生素质拓展计划活动者加1—5分。</td>
      <td><el-input class="input-1" :disabled=true></el-input></td>
      <td><el-input class="input-2" v-model="teamForm.dyfjf3" :disabled="userInfo.userRole!='monitor'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-3" v-model="classForm.dyfjf3" :disabled="userInfo.userRole!='instructor'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-4" v-model="collageForm.dyfjf3" :disabled="userInfo.userRole!='leader'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-5" v-model="reCheckForm.dyfjf3" :disabled="userInfo.userRole!='leader'&&userInfo.userRole!='admin'"></el-input></td>
    </tr>
    <tr>
      <td>参加班、二级学院、校组织的各项集体活动加分不得超过20分</td>
      <td><el-input class="input-1" :disabled=true></el-input></td>
      <td><el-input class="input-2" v-model="teamForm.dyfjf4" :disabled="userInfo.userRole!='monitor'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-3" v-model="classForm.dyfjf4" :disabled="userInfo.userRole!='instructor'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-4" v-model="collageForm.dyfjf4" :disabled="userInfo.userRole!='leader'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-5" v-model="reCheckForm.dyfjf4" :disabled="userInfo.userRole!='leader'&&userInfo.userRole!='admin'"></el-input></td>
    </tr>
    <tr>
      <td>获市级、省级、国家级先进集体，其成员分别加2分、3分、4分。</td>
      <td><el-input class="input-1" :disabled=true></el-input></td>
      <td><el-input class="input-2" v-model="teamForm.dyfjf5" :disabled="userInfo.userRole!='monitor'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-3" v-model="classForm.dyfjf5" :disabled="userInfo.userRole!='instructor'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-4" v-model="collageForm.dyfjf5" :disabled="userInfo.userRole!='leader'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-5" v-model="reCheckForm.dyfjf5" :disabled="userInfo.userRole!='leader'&&userInfo.userRole!='admin'"></el-input></td>
    </tr>
    <tr>
      <td rowspan="4"><div class="list-2">扣分</div></td>
      <td>违反四项基本原则，参加非法组织和非法游行、示威及张贴大字报者，视情节扣20分以上。</td>
      <td><el-input class="input-1" :disabled=true></el-input></td>
      <td><el-input class="input-2" v-model="teamForm.dykf1" :disabled="userInfo.userRole!='monitor'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-3" v-model="classForm.dykf1" :disabled="userInfo.userRole!='instructor'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-4" v-model="collageForm.dykf1" :disabled="userInfo.userRole!='leader'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-5" v-model="reCheckForm.dykf1" :disabled="userInfo.userRole!='leader'&&userInfo.userRole!='admin'"></el-input></td>
    </tr>
    <tr>
      <td>凡未经准假而不参加政治学习、集体活动、劳动者每次扣2分。</td>
      <td><el-input class="input-1" :disabled=true></el-input></td>
      <td><el-input class="input-2" v-model="teamForm.dykf2" :disabled="userInfo.userRole!='monitor'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-3" v-model="classForm.dykf2" :disabled="userInfo.userRole!='instructor'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-4" v-model="collageForm.dykf2" :disabled="userInfo.userRole!='leader'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-5" v-model="reCheckForm.dykf2" :disabled="userInfo.userRole!='leader'&&userInfo.userRole!='admin'"></el-input></td>
    </tr>
    <tr>
      <td>通报批评一次扣6分，受警告、严重警告、记过、留校察看处分的分别扣10、20、30、40分。</td>
      <td><el-input class="input-1" :disabled=true></el-input></td>
      <td><el-input class="input-2" v-model="teamForm.dykf3" :disabled="userInfo.userRole!='monitor'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-3" v-model="classForm.dykf3" :disabled="userInfo.userRole!='instructor'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-4" v-model="collageForm.dykf3" :disabled="userInfo.userRole!='leader'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-5" v-model="reCheckForm.dykf3" :disabled="userInfo.userRole!='leader'&&userInfo.userRole!='admin'"></el-input></td>
    </tr>
    <tr>
      <td>在学校精神文明建设活动及学生管理工作中，不合格的集体，具体组织者每次每项扣3分，成员每次每项扣2分；违反学校宿舍管理规定扣3分，违规达三次者取消评奖评优资格。</td>
      <td><el-input class="input-1" :disabled=true></el-input></td>
      <td><el-input class="input-2" v-model="teamForm.dykf4" :disabled="userInfo.userRole!='monitor'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-3" v-model="classForm.dykf4" :disabled="userInfo.userRole!='instructor'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-4" v-model="collageForm.dykf4" :disabled="userInfo.userRole!='leader'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-5" v-model="reCheckForm.dykf4" :disabled="userInfo.userRole!='leader'&&userInfo.userRole!='admin'"></el-input></td>
    </tr>
    <tr>
      <td colspan="2"><div class="col-1">德      育      表      现      分      小      计</div></td>
      <td><el-input class="input-1" :disabled=true></el-input></td>
      <td><el-input class="input-2" v-model="count.team_dycount" :disabled="true"></el-input></td>
      <td><el-input class="input-3" v-model="count.class_dycount" :disabled="true"></el-input></td>
      <td><el-input class="input-4" v-model="count.collage_dycount" :disabled="true"></el-input></td>
      <td><el-input class="input-5" v-model="count.reCheck_dycount" :disabled="true"></el-input></td>

    </tr>
    <tr>
      <td rowspan="10" class="list-1"><div class="list-1">学业成绩分（70%）</div></td>
      <td colspan="2"><div class="col-1"> 基           本           分           90分</div></td>
      <td><el-input class="input-1" :disabled=true></el-input></td>
      <td><el-input class="input-2" v-model="teamForm.xyfjf1" :disabled="userInfo.userRole!='monitor'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-3" v-model="classForm.xyfjf1" :disabled="userInfo.userRole!='instructor'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-4" v-model="collageForm.xyfjf1" :disabled="userInfo.userRole!='leader'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-5" v-model="reCheckForm.xyfjf1" :disabled="userInfo.userRole!='leader'&&userInfo.userRole!='admin'"></el-input></td>
    </tr>
    <tr>
      <td rowspan="4"><div class="list-2">附加分10分</div></td>
      <td>凡个人在校、市、省或全国公开出版刊物发表论文者，每篇分别加0.5、1、2、3分。</td>
      <td><el-input class="input-1" :disabled=true></el-input></td>
      <td><el-input class="input-2" v-model="teamForm.xyfjf1" :disabled="userInfo.userRole!='monitor'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-3" v-model="classForm.xyfjf1" :disabled="userInfo.userRole!='instructor'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-4" v-model="collageForm.xyfjf1" :disabled="userInfo.userRole!='leader'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-5" v-model="reCheckForm.xyfjf1" :disabled="userInfo.userRole!='leader'&&userInfo.userRole!='admin'"></el-input></td>
    </tr>
    <tr>
      <td>校、市、省、全国的专业知识竞赛、科技活动中获奖者，每项按一、二、三等奖分别加分为：校级（1、0.6、0.4），市级（1.4、1、0.6），省级（2、1.6、1.2），全国（4、3、2）分。</td>
      <td><el-input class="input-1" :disabled=true></el-input></td>
      <td><el-input class="input-2" v-model="teamForm.xyfjf2" :disabled="userInfo.userRole!='monitor'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-3" v-model="classForm.xyfjf2" :disabled="userInfo.userRole!='instructor'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-4" v-model="collageForm.xyfjf2" :disabled="userInfo.userRole!='leader'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-5" v-model="reCheckForm.xyfjf2" :disabled="userInfo.userRole!='leader'&&userInfo.userRole!='admin'"></el-input></td>
    </tr>
    <tr>
      <td>通过专业等级考试、资格认证者每通过一项加1分，以证书、成绩证明为准。</td>
      <td><el-input class="input-1" :disabled=true></el-input></td>
      <td><el-input class="input-2" v-model="teamForm.xyfjf3" :disabled="userInfo.userRole!='monitor'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-3" v-model="classForm.xyfjf3" :disabled="userInfo.userRole!='instructor'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-4" v-model="collageForm.xyfjf3" :disabled="userInfo.userRole!='leader'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-5" v-model="reCheckForm.xyfjf3" :disabled="userInfo.userRole!='leader'&&userInfo.userRole!='admin'"></el-input></td>
    </tr>
    <tr>
      <td>全勤（含上正课、选修课及班一级以上组织的报告会、讲座及集体活动等）加2分（有病事假不加）。</td>
      <td><el-input class="input-1" :disabled=true></el-input></td>
      <td><el-input class="input-2" v-model="teamForm.xyfjf4" :disabled="userInfo.userRole!='monitor'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-3" v-model="classForm.xyfjf4" :disabled="userInfo.userRole!='instructor'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-4" v-model="collageForm.xyfjf4" :disabled="userInfo.userRole!='leader'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-5" v-model="reCheckForm.xyfjf4" :disabled="userInfo.userRole!='leader'&&userInfo.userRole!='admin'"></el-input></td>
    </tr>
    <tr>
      <td rowspan="4"><div class="list-2">扣分</div></td>
      <td>必修课和规定选修课考试不及格者，按各门课程学分值的一半扣分。</td>
      <td><el-input class="input-1" :disabled=true></el-input></td>
      <td><el-input class="input-2" v-model="teamForm.xyfkf5" :disabled="userInfo.userRole!='monitor'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-3" v-model="classForm.xyfkf5" :disabled="userInfo.userRole!='instructor'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-4" v-model="collageForm.xyfkf5" :disabled="userInfo.userRole!='leader'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-5" v-model="reCheckForm.xyfkf5" :disabled="userInfo.userRole!='leader'&&userInfo.userRole!='admin'"></el-input></td>
    </tr>
    <tr>
      <td>考试作弊一次扣10分，并按学校学籍管理规定处理。</td>
      <td><el-input class="input-1" :disabled=true></el-input></td>
      <td><el-input class="input-2" v-model="teamForm.xyfkf6" :disabled="userInfo.userRole!='monitor'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-3" v-model="classForm.xyfkf6" :disabled="userInfo.userRole!='instructor'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-4" v-model="collageForm.xyfkf6" :disabled="userInfo.userRole!='leader'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-5" v-model="reCheckForm.xyfkf6" :disabled="userInfo.userRole!='leader'&&userInfo.userRole!='admin'"></el-input></td>
    </tr>
    <tr>
      <td>无故旷缺一节课（包括教学时间安排的集体活动和劳动、卫生）扣1分，迟到早退三次作旷课一次论处。课堂纪律差受老师批评、警告，每次扣0.5—1分。</td>
      <td><el-input class="input-1" :disabled=true></el-input></td>
      <td><el-input class="input-2" v-model="teamForm.xyfkf7" :disabled="userInfo.userRole!='monitor'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-3" v-model="classForm.xyfkf7" :disabled="userInfo.userRole!='instructor'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-4" v-model="collageForm.xyfkf7" :disabled="userInfo.userRole!='leader'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-5" v-model="reCheckForm.xyfkf7" :disabled="userInfo.userRole!='leader'&&userInfo.userRole!='admin'"></el-input></td>
    </tr>
    <tr>
      <td>在实践性教学环节中，违反纪律造成不良影响、违反规程造成事故或损坏设备者，酌情扣5—10分。</td>
      <td><el-input class="input-1" :disabled=true></el-input></td>
      <td><el-input class="input-2" v-model="teamForm.xyfkf8" :disabled="userInfo.userRole!='monitor'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-3" v-model="classForm.xyfkf8" :disabled="userInfo.userRole!='instructor'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-4" v-model="collageForm.xyfkf8" :disabled="userInfo.userRole!='leader'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-5" v-model="reCheckForm.xyfkf8" :disabled="userInfo.userRole!='leader'&&userInfo.userRole!='admin'"></el-input></td>
    </tr>
    <tr>
      <td colspan="2"><div class="col-1">  学      业       成       绩       分        小       计</div></td>
      <td><el-input class="input-1" :disabled=true></el-input></td>
      <td><el-input class="input-2" v-model="count.team_xycount" :disabled="true"></el-input></td>
      <td><el-input class="input-3" v-model="count.class_xycount" :disabled="true"></el-input></td>
      <td><el-input class="input-4" v-model="count.collage_xycount" :disabled="true"></el-input></td>
      <td><el-input class="input-5" v-model="count.reCheck_xycount" :disabled="true"></el-input></td>

    </tr>
    <tr>
      <td rowspan="7" class="list-1"><div class="list-1">文体表现分（10%）</div></td>
      <td colspan="2"><div class="col-1">体  测  基  本  分  30分</div></td>

    </tr>
    <tr>
      <td colspan="2"><div class="col-1">文  艺  基  本  分  30分</div></td>
    </tr>
    <tr>
      <td rowspan="3"><div class="list-2">附加分40分</div></td>
      <td>参加不同级别体育竞赛获前六名者，按等级加分：省级及以上15、13、11、9、7、5分；市、校级10、8、6、4、3、2分。运动员每次加1分。体育项目破省高校（含省级）记录者最高可加到17分（不再重复累加其他体育竞赛分）。</td>
      <td><el-input class="input-1" :disabled=true></el-input></td>
      <td><el-input class="input-2" v-model="teamForm.wtfjf1" :disabled="userInfo.userRole!='monitor'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-3" v-model="classForm.wtfjf1" :disabled="userInfo.userRole!='instructor'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-4" v-model="collageForm.wtfjf1" :disabled="userInfo.userRole!='leader'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-5" v-model="reCheckForm.wtfjf1" :disabled="userInfo.userRole!='leader'&&userInfo.userRole!='admin'"></el-input></td>
    </tr>
    <tr>
      <td>体测成绩达“优秀”，加10分。</td>
      <td><el-input class="input-1" :disabled=true></el-input></td>
      <td><el-input class="input-2" v-model="teamForm.wtfjf2" :disabled="userInfo.userRole!='monitor'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-3" v-model="classForm.wtfjf2" :disabled="userInfo.userRole!='instructor'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-4" v-model="collageForm.wtfjf2" :disabled="userInfo.userRole!='leader'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-5" v-model="reCheckForm.wtfjf2" :disabled="userInfo.userRole!='leader'&&userInfo.userRole!='admin'"></el-input></td>
    </tr>
    <tr>
      <td>参加不同级别文艺竞赛获一、二、三等奖及优秀奖者，按等级加分：国家级15、13、11、9分；省级11、9、7、5分；市级7、5、3、2分；校级加4、3、2、1分。</td>
      <td><el-input class="input-1" :disabled=true></el-input></td>
      <td><el-input class="input-2" v-model="teamForm.wtfjf3" :disabled="userInfo.userRole!='monitor'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-3" v-model="classForm.wtfjf3" :disabled="userInfo.userRole!='instructor'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-4" v-model="collageForm.wtfjf3" :disabled="userInfo.userRole!='leader'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-5" v-model="reCheckForm.wtfjf3" :disabled="userInfo.userRole!='leader'&&userInfo.userRole!='admin'"></el-input></td>
    </tr>
    <tr>
      <td><div class="list-2">扣分</div></td>
      <td>无故不参加体测，扣10分；对学校、学院规定的文体活动消极对待，无故不参加校、院要求统一参加的文艺、体育活动者，每次扣5分。</td>
      <td><el-input class="input-1" :disabled=true></el-input></td>
      <td><el-input class="input-2" v-model="teamForm.wtfkf4" :disabled="userInfo.userRole!='monitor'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-3" v-model="classForm.wtfkf4" :disabled="userInfo.userRole!='instructor'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-4" v-model="collageForm.wtfkf4" :disabled="userInfo.userRole!='leader'&&userInfo.userRole!='admin'"></el-input></td>
      <td><el-input class="input-5" v-model="reCheckForm.wtfkf4" :disabled="userInfo.userRole!='leader'&&userInfo.userRole!='admin'"></el-input></td>
    </tr>
    <tr>
      <td colspan="2"><div class="col-1">文      体      表      现      分      小      计</div></td>
      <td><el-input class="input-1" :disabled=true></el-input></td>
      <td><el-input class="input-2" v-model="count.team_wtcount" :disabled="true" ></el-input></td>
      <td><el-input class="input-3" v-model="count.class_wtcount" :disabled="true"></el-input></td>
      <td><el-input class="input-4" v-model="count.collage_wtcount" :disabled="true"></el-input></td>
      <td><el-input class="input-5" v-model="count.reCheck_wtcount" :disabled="true"></el-input></td>

    </tr>
     <tr>
      <td colspan="3"><div class="col-1">个人综合测评成绩=德育成绩×0.2+智育成绩×0.7+文体成绩×0.1=</div></td>
       <td><el-input class="input-1" :disabled=true></el-input></td>
       <td><el-input class="input-2" v-model="count.team_allcount" :disabled="true"></el-input></td>
       <td><el-input class="input-3" v-model="count.class_allcount" :disabled="true"></el-input></td>
       <td><el-input class="input-4" v-model="count.collage_allcount" :disabled="true"></el-input></td>
       <td><el-input class="input-5" v-model="count.reCheck_allcount" :disabled="true"></el-input></td>

     </tr>

  </table>

</template>
<script>
import axios from "axios";

export default {
  name: "myLabel",
  data(){
    return{
      userInfo:{
        username:'admin',
        userRole:'monitor',
        student_id: ''
      },
      count:{
        team_dycount:'',
        team_xycount:'',
        team_wtcount:'',
        team_allcount:'',
        class_dycount:'',
        class_xycount:'',
        class_wtcount:'',
        class_allcount:'',
        collage_dycount:'',
        collage_xycount:'',
        collage_wtcount:'',
        collage_allcount:'',
        reCheck_dycount:'',
        reCheck_xycount:'',
        reCheck_wtcount:'',
        reCheck_allcount:'',
        self_dycount:'',
        self_xycount:'',
        self_wtcount:'',
        self_allcount:''
      },
      session:this.$cookieStore.getCookie('session'),
      selfForm:{},
      self:{
        userRole:'self',
        who:'self',
        dyjbf1:'',
        dyjbf2:'',
        dyjbf3:'',
        dyjbf4:'',
        dyjbf5:'',
        dyjbf6:'',
        dyjbf7:'',
        dyjbf8:'',
        dyfjf1:'',
        dyfjf2:'',
        dyfjf3:'',
        dyfjf4:'',
        dyfjf5:'',
        dykf1:'',
        dykf2:'',
        dykf3:'',
        dykf4:'',

        xyfjf1:'',
        xyfjf2:'',
        xyfjf3:'',
        xyfjf4:'',
        xyfkf5:'',
        xyfkf6:'',
        xyfkf7:'',
        xyfkf8:'',
        wtfjf1:'',
        wtfjf2:'',
        wtfjf3:'',
        wtfkf4:'',


      },
      teamForm:{},
      team:{
      userRole:'team',
        who:'team',
        dyjbf1:'',
        dyjbf2:'',
        dyjbf3:'',
        dyjbf4:'',
        dyjbf5:'',
        dyjbf6:'',
        dyjbf7:'',
        dyjbf8:'',
        dyfjf1:'',
        dyfjf2:'',
        dyfjf3:'',
        dyfjf4:'',
        dyfjf5:'',
        dykf1:'',
        dykf2:'',
        dykf3:'',
        dykf4:'',

        xyfjf1:'',
        xyfjf2:'',
        xyfjf3:'',
        xyfjf4:'',
        xyfkf5:'',
        xyfkf6:'',
        xyfkf7:'',
        xyfkf8:'',

        wtfjf1:'',
        wtfjf2:'',
        wtfjf3:'',
        wtfkf4:'',


    },
      classForm:{},
      class:{
        userRole:'class',
        who:'class',
        dyjbf1:'',
        dyjbf2:'',
        dyjbf3:'',
        dyjbf4:'',
        dyjbf5:'',
        dyjbf6:'',
        dyjbf7:'',
        dyjbf8:'',
        dyfjf1:'',
        dyfjf2:'',
        dyfjf3:'',
        dyfjf4:'',
        dyfjf5:'',
        dykf1:'',
        dykf2:'',
        dykf3:'',
        dykf4:'',

        xyfjf1:'',
        xyfjf2:'',
        xyfjf3:'',
        xyfjf4:'',
        xyfkf5:'',
        xyfkf6:'',
        xyfkf7:'',
        xyfkf8:'',

        wtfjf1:'',
        wtfjf2:'',
        wtfjf3:'',
        wtfkf4:'',

      },
      collageForm:{},
      collage:{
        userRole:'collage',
        who:'collage',
        dyjbf1:'',
        dyjbf2:'',
        dyjbf3:'',
        dyjbf4:'',
        dyjbf5:'',
        dyjbf6:'',
        dyjbf7:'',
        dyjbf8:'',
        dyfjf1:'',
        dyfjf2:'',
        dyfjf3:'',
        dyfjf4:'',
        dyfjf5:'',
        dykf1:'',
        dykf2:'',
        dykf3:'',
        dykf4:'',

        xyfjf1:'',
        xyfjf2:'',
        xyfjf3:'',
        xyfjf4:'',
        xyfkf5:'',
        xyfkf6:'',
        xyfkf7:'',
        xyfkf8:'',

        wtfjf1:'',
        wtfjf2:'',
        wtfjf3:'',
        wtfkf4:'',

      },
      reCheckForm:{},
      reCheck:{
      userRole:'recheck',
        who:'recheck',
        dyjbf1:'',
        dyjbf2:'',
        dyjbf3:'',
        dyjbf4:'',
        dyjbf5:'',
        dyjbf6:'',
        dyjbf7:'',
        dyjbf8:'',
        dyfjf1:'',
        dyfjf2:'',
        dyfjf3:'',
        dyfjf4:'',
        dyfjf5:'',
        dykf1:'',
        dykf2:'',
        dykf3:'',
        dykf4:'',

        xyfjf1:'',
        xyfjf2:'',
        xyfjf3:'',
        xyfjf4:'',
        xyfkf5:'',
        xyfkf6:'',
        xyfkf7:'',
        xyfkf8:'',

        wtfjf1:'',
        wtfjf2:'',
        wtfjf3:'',
        wtfkf4:'',

    }
    }
  },
  props:{
    uid:''
  },
  created() {
    // this.getScore()
    this.userInfo.userRole=this.$cookieStore.getCookie("userRole");
  },
  methods:{
    async getScore(uid){
      // uid
      this.userInfo.student_id=uid
      let params ={
        session_key:this.session,
        student_id:uid
      }
      const res = await axios.post('/api/api/api/getStuForm',params)
      const {code,msg,data} = res.data
      this.reForm();
      if (code==200){
        if (data.selfmark)this.selfForm = data.selfmark
        if (data.teammark)this.teamForm = data.teammark
        if (data.classmark)this.classForm = data.classmark
        if (data.collagemark)this.collageForm = data.collagemark
        if (data.recheckmark)this.reCheckForm = data.recheckmark
        this.$message.success(msg)
      }else{
        this.$message.warning(msg)
      }
    },
    async submit(){
      if (this.userInfo.userRole=="monitor"){
        let params = this.teamForm
        params.student_id=this.userInfo.student_id,
        params.mark_id=this.$cookieStore.getCookie('userId'),
        params.session_key=this.session
        const res = await axios.post('/api/api/api/setStuScore',params)
        const {code,msg}=res.data
        if (code==200){
          this.$message.success(msg)
        }else{
          this.$message.warning(msg)
        }
      }
      if (this.userInfo.userRole=="instructor"){
        let params = this.classForm
        params.student_id=this.userInfo.student_id,
          params.mark_id=this.$cookieStore.getCookie('userId'),
          params.session_key=this.session
        const res = await axios.post('/api/api/api/setStuScore',params)
        const {code,msg}=res.data
        if (code==200){
          this.$message.success(msg)
        }else this.$message.warning(msg)
      }
      if (this.userInfo.userRole=="leader"){
        let params1 = this.collageForm
        params1.student_id=this.userInfo.student_id,
          params1.mark_id=this.$cookieStore.getCookie('userId'),
          params1.session_key=this.session
        let params2 = this.reCheckForm
        params2.student_id=this.userInfo.student_id,
          params2.mark_id=this.$cookieStore.getCookie('userId'),
          params2.session_key=this.session
        const res = await axios.post('/api/api/api/setStuScore',params1)
        const {code1,msg}=res.data
        const res2 = await axios.post('/api/api/api/setStuScore',params2)
        const {code2,msg2}=res2.data
        if (code1==200||code2==200){
          this.$message.success(msg)
        }
      }
    },
    reForm(){
      this.selfForm=this.self
      this.teamForm=this.team
      this.classForm=this.class
      this.collageForm=this.collage
      this.reCheckForm=this.reCheck
    },
    count(){

    }
  }
}
</script>

<style scoped>
table{
  border: 1px solid #ebeef5;
  overflow: hidden;
  border-spacing: 2px;
  margin: 5px ;
}
td{
  box-sizing: border-box;
  text-overflow: ellipsis;
  vertical-align: middle;
  position: relative;
  border: 1px solid #ebeef5;
  max-width: 900px;
  font-size: 1rem;
  background: #f5f7fa;
  font-weight: bold;
}
.list-1{
  width: 20px;
  writing-mode: tb;
}
.list-2{
  width: 20px;
  writing-mode: tb;
}
.col-1{
  text-align: center;
}
.input-1{
  width: 50px;
}
.input-2{
  width: 50px;
}
.input-3{
  width: 50px;
}
.input-4{
  width: 50px;
}
.input-5{
  width: 50px;
}
</style>
